[pull] main from JanDeDobbeleer:main#1
Open
pull[bot] wants to merge 4392 commits into
Open
Conversation
7dbb061 to
c9f5c09
Compare
055afb8 to
0215f17
Compare
c36113c to
8ec153a
Compare
4da3cb0 to
f3547c8
Compare
f65fd8c to
a217ec7
Compare
5f8a0cc to
47e1f46
Compare
When tooltips are enabled and the user presses Backspace causing the first word of the buffer to change (or become empty), restore the original right prompt instead of leaving the tooltip visible. Go: add tooltipFallback() to prompt/tooltip.go - Reads the cached rprompt from RPromptKey/RPromptLengthKey in the session cache (already populated when tooltips are configured) - Returns the plain text for ZSH/Fish, cursor-positioned output for PWSH - Tooltip() calls tooltipFallback() instead of returning '' when no tooltip segment matches the current command Shell scripts: bind Backspace to a handler that: - Does nothing if no tooltip was ever shown (_omp_tooltip_command empty) - Does nothing if the first word is unchanged - Calls 'print tooltip' with the new command when the first word changes; Go returns the cached rprompt (or a new tooltip if one matches) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Bumps the all group with 1 update in the / directory: [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action). Updates `goreleaser/goreleaser-action` from 7.1.0 to 7.2.1 - [Release notes](https://github.com/goreleaser/goreleaser-action/releases) - [Commits](goreleaser/goreleaser-action@e24998b...1a80836) --- updated-dependencies: - dependency-name: goreleaser/goreleaser-action dependency-version: 7.2.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all ... Signed-off-by: dependabot[bot] <support@github.com>
- Use targeted cache.Delete instead of cache.DeleteAll in tests to avoid cross-package cache pollution during parallel test runs - In PS1 backspace handler, call InvokePrompt() when output is empty to clear a stale tooltip/rprompt, and add Insert/Undo workaround after printing to prevent text-after-cursor from disappearing - Add backward-delete-char to _omp_cleanup widget list in omp.zsh so the original handler is restored on re-sourcing/re-init Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ndler Match the pattern used in Set-TransientPrompt for consistency and to prevent non-ASCII characters rendering incorrectly on redraw. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move InvokePrompt() outside the try block so it still executes even if the ArgumentOutOfRangeException catch fires during the OutputEncoding assignment, preventing a stale tooltip from being left on screen. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Bumps [hono](https://github.com/honojs/hono) from 4.12.12 to 4.12.14. - [Release notes](https://github.com/honojs/hono/releases) - [Commits](honojs/hono@v4.12.12...v4.12.14) --- updated-dependencies: - dependency-name: hono dependency-version: 4.12.14 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.11 to 1.16.0. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.15.11...v1.16.0) --- updated-dependencies: - dependency-name: follow-redirects dependency-version: 1.16.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* chore: add github-app.yml * feat(template): add localeShortDate and localeShortTime functions resolves #7481 * feat(segment): add FiveHourResetsAt and SevenDayResetsAt template methods resolves #7480 * docs: fix typo in Wakatime and Brewfather * perf(git): parallelize git segment shell-outs to reduce prompt latency * feat(theme): revamp tiwahu theme segments and styling Squash recent tiwahu theme updates into a single commit for PR review.\n\nIncludes git segment refinements, language segment styling updates, docker segment additions, and az template fix. * fix(template): add //go:build windows constraint to locale_windows.go Without this tag both locale_unix.go and locale_windows.go were compiled on non-Windows platforms, causing the Windows init() to override the Unix resolver and leaving localeShortDate/Time always at their defaults. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Shubham Bawari <shubhambawari123@gmail.com> Co-authored-by: Matthew Rothenberg <mroth@mroth.xyz> Co-authored-by: Tim Huber <thuber@tiwahu.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…7495) * feat(template): add cmd function to run OS commands from templates Adds a `cmd` template function that calls env.RunCommand() and returns trimmed output, enabling users to incorporate arbitrary command output into any segment template. Example usage: {{ cmd "who" | splitList " " | len }} {{ cmd "git" "log" "--oneline" "-1" }} Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * chore: restore apm.lock after apm install on session create Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * chore: restore apm.lock after apm install in setup steps Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix(template): fix field alignment in exec_test.go Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * docs(template): add security warning to cmd helper Warn that cmd executes arbitrary OS commands as the current user and should only be used with trusted themes/configs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * refactor(template): rename exec to cmd Rename exec.go -> cmd.go and exec_test.go -> cmd_test.go to match the template function name. Also rename TestExec -> TestCmd. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Bumps the all group with 1 update: [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action). Updates `DavidAnson/markdownlint-cli2-action` from 23.0.0 to 23.1.0 - [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases) - [Commits](DavidAnson/markdownlint-cli2-action@ce4853d...6b51ade) --- updated-dependencies: - dependency-name: DavidAnson/markdownlint-cli2-action dependency-version: 23.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all ... Signed-off-by: dependabot[bot] <support@github.com>
Replace repeated string literals with named constants throughout segments and config packages. Cross-file shared constants added to segments/language.go; file-local constants added as const blocks in their respective files. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ates Bumps the minor-patch group with 5 updates in the /src directory: | Package | From | To | | --- | --- | --- | | [github.com/gookit/color](https://github.com/gookit/color) | `1.6.0` | `1.6.1` | | gopkg.in/ini.v1 | `1.67.1` | `1.67.2` | | [github.com/gookit/goutil](https://github.com/gookit/goutil) | `0.7.4` | `0.7.5` | | [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml) | `2.3.0` | `2.3.1` | | [github.com/shirou/gopsutil/v4](https://github.com/shirou/gopsutil) | `4.26.3` | `4.26.4` | Updates `github.com/gookit/color` from 1.6.0 to 1.6.1 - [Release notes](https://github.com/gookit/color/releases) - [Commits](gookit/color@v1.6.0...v1.6.1) Updates `gopkg.in/ini.v1` from 1.67.1 to 1.67.2 Updates `github.com/gookit/goutil` from 0.7.4 to 0.7.5 - [Release notes](https://github.com/gookit/goutil/releases) - [Commits](gookit/goutil@v0.7.4...v0.7.5) Updates `github.com/pelletier/go-toml/v2` from 2.3.0 to 2.3.1 - [Release notes](https://github.com/pelletier/go-toml/releases) - [Commits](pelletier/go-toml@v2.3.0...v2.3.1) Updates `github.com/shirou/gopsutil/v4` from 4.26.3 to 4.26.4 - [Release notes](https://github.com/shirou/gopsutil/releases) - [Commits](shirou/gopsutil@v4.26.3...v4.26.4) --- updated-dependencies: - dependency-name: github.com/gookit/color dependency-version: 1.6.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: gopkg.in/ini.v1 dependency-version: 1.67.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: github.com/gookit/goutil dependency-version: 0.7.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: github.com/pelletier/go-toml/v2 dependency-version: 2.3.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: github.com/shirou/gopsutil/v4 dependency-version: 4.26.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-patch ... Signed-off-by: dependabot[bot] <support@github.com>
- restore versionRegexSemver in aurelia.go to preserve prerelease/ build-metadata capture groups lost when switching to versionRegexPrefixed - add docker-local defaultDockerContext constant to decouple docker.go from defaultUser defined in aws.go - add mojo-local defaultVenvName constant to decouple mojo.go from defaultUser defined in aws.go Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Bumps the all group with 1 update: [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action). Updates `DavidAnson/markdownlint-cli2-action` from 23.1.0 to 23.2.0 - [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases) - [Commits](DavidAnson/markdownlint-cli2-action@6b51ade...ded1f94) --- updated-dependencies: - dependency-name: DavidAnson/markdownlint-cli2-action dependency-version: 23.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [axios](https://github.com/axios/axios) from 1.15.0 to 1.15.2. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v1.15.0...v1.15.2) --- updated-dependencies: - dependency-name: axios dependency-version: 1.15.2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [ip-address](https://github.com/beaugunderson/ip-address) and [express-rate-limit](https://github.com/express-rate-limit/express-rate-limit). These dependencies needed to be updated together. Updates `ip-address` from 10.1.0 to 10.2.0 - [Commits](https://github.com/beaugunderson/ip-address/commits) Updates `express-rate-limit` from 8.3.0 to 8.5.1 - [Release notes](https://github.com/express-rate-limit/express-rate-limit/releases) - [Commits](express-rate-limit/express-rate-limit@v8.3.0...v8.5.1) --- updated-dependencies: - dependency-name: ip-address dependency-version: 10.2.0 dependency-type: indirect - dependency-name: express-rate-limit dependency-version: 8.5.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [hono](https://github.com/honojs/hono) from 4.12.14 to 4.12.18. - [Release notes](https://github.com/honojs/hono/releases) - [Commits](honojs/hono@v4.12.14...v4.12.18) --- updated-dependencies: - dependency-name: hono dependency-version: 4.12.18 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )